package com.smt.modules.bus.service;

import com.smt.common.utils.R;
import com.smt.modules.app.annotation.LoginUser;
import com.smt.modules.bus.entity.MemberUserEntity;
import com.smt.modules.bus.vo.ConsumptionFileVo;

/**
 * @author zhangyi
 * @date 2018/10/24 10:50
 */
public interface ConsumptionService {

    /**
     * 查询积分
     *
     * @param memberUserEntity
     * @return
     */
    R showIntegral(MemberUserEntity memberUserEntity);

    /**
     *升级
     *
     * @param memberUserEntity
     * @return
     */
    R upgrade(MemberUserEntity memberUserEntity);

    /**
     * 下载
     *
     * @param consumptionFileVo
     * @param memberUserEntity
     * @return
     */
    R downloadConsumption(ConsumptionFileVo consumptionFileVo,MemberUserEntity memberUserEntity);
}
